import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/home/index.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/kind',
    name: 'kind',
    
    component: () => import(/* webpackChunkName: "about" */ '../views/kind/index.vue')
  },
  {
    path: '/cart',
    name: 'cart',
    
    component: () => import(/* webpackChunkName: "about" */ '../views/cart/index.vue')
  },
  {
    path: '/user',
    name: 'user',
    
    component: () => import(/* webpackChunkName: "about" */ '../views/user/index.vue')
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
